package rmiinterfaces;

/*
 * This file contains data model interface.
 * @author Group 10
 */

import java.rmi.*;
import java.util.ArrayList;
import java.util.Map;
import rmiinterfaces.RequestTypes.RequestType;

// Interface to be implemented by Data Model to provide business layer service to forms 
// Can be called by Security Facade or individual forms. 
// See RequestTypes interface for description of the protocol. 
public interface DataModelInterface extends java.rmi.Remote {    
    // Execute a request reqNum with params.
    // Returns the result of the request. 
    Map<String,Object> execRequest(RequestType reqNum, Map<String, Object> params) throws RemoteException;
}
